home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9806 / 000241_owner-linux-arm…r.rutgers.edu _Mon Jun 22 14:22:22 1998.msg < prev    next >
Internet Message Format  |  1998-06-30  |  3KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from virtual.bbc.co.uk (virtual.bbc.co.uk [132.185.132.199])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id OAA07625
  4.     for <willy@odie.barnet.ac.uk>; Mon, 22 Jun 1998 14:22:20 +0100
  5. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  6.     by virtual.bbc.co.uk (8.8.5/8.8.5) with ESMTP id OAA20104
  7.     for <willy@bofh.ai>; Mon, 22 Jun 1998 14:49:57 +0100 (BST)
  8. Received: from vger.rutgers.edu ([128.6.190.2]:5654 "EHLO vger.rutgers.edu" ident: "root") by nic.funet.fi with ESMTP id <19437-29448>; Mon, 22 Jun 1998 16:34:01 +0300
  9. Received: by vger.rutgers.edu id <970894-28915>; Mon, 22 Jun 1998 09:01:26 -0400
  10. Received: from odie.barnet.ac.uk ([194.82.202.98]:21167 "EHLO odie.barnet.ac.uk" ident: "willy") by vger.rutgers.edu with ESMTP id <971168-28915>; Mon, 22 Jun 1998 08:56:40 -0400
  11. Received: (from willy@localhost)
  12.     by odie.barnet.ac.uk (8.8.6/8.8.6) id NAA07591;
  13.     Mon, 22 Jun 1998 13:46:57 +0100
  14. From: Matthew Wilcox <willy@odie.barnet.ac.uk>
  15. Message-Id: <199806221246.NAA07591@odie.barnet.ac.uk>
  16. Subject: Re: glibc/gcc problems. Any ideas?
  17. To: pb@nexus.co.uk (Philip Blundell)
  18. Date:     Mon, 22 Jun 1998 13:46:55 +0100 (BST)
  19. Cc: P.C.F.Norman@exeter.ac.uk, linux-arm@vger.rutgers.edu
  20. In-Reply-To: <E0yo5KD-0007Ch-00@spring.nexus.co.uk> from "Philip Blundell" at Jun 22, 98 01:03:53 pm
  21. X-Mailer: ELM [version 2.4 PL25]
  22. MIME-Version: 1.0
  23. Content-Type: text/plain; charset=US-ASCII
  24. Content-Transfer-Encoding: 7bit
  25. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  26. Sender: owner-linux-arm@vger.rutgers.edu
  27. Precedence: bulk
  28. X-Loop: majordomo@vger.rutgers.edu
  29. Status: RO
  30.  
  31. Philip Blundell
  32. > >./configure --prefix=/usr/elf --host=arm-linuxaout --target=arm-linux
  33. > >
  34. > >And I've compiled binutils with exactly the same arguments (although I 
  35. > >had to make symlinks in /usr/elf/bin since binutils created all the binaries 
  36. > >with names like arm-linux-ld and arm-linux-as).
  37. > Actually, had you just done "--prefix=/usr" this would have just worked.  GCC 
  38. > and binutils are smart enough to spot when you're building a cross-compiler 
  39. > and install it correctly in /usr/arm-linux/...
  40.  
  41. the plan was to keep everything separate in case anything went wrong.
  42.  
  43. > >./configure --prefix=/usr/elf --enable-addons=crypt,linuxthreads 
  44. > >--build=arm-linuxaout --host=arm-linux
  45. > You need to tell it what compiler to use.  Try something like this:
  46. > $ CC=arm-linux-gcc .../configure --prefix=/usr/arm-linux --enable-add-ons=...
  47. > Otherwise it will use your native compiler which doesn't understand all the 
  48. > features needed for glibc.
  49.  
  50. ah, /usr/elf/bin was in his $PATH ahead of /usr/bin, and typing
  51. `gcc --version' reports 2.8.1
  52.  
  53. -- 
  54. Set Alias$Case Set Alias$[ |||| |MSet Alias$Otherwise Set Alias$[ \ Matthew
  55. "" |MSet Alias$When If %0=%%0 Then Set Alias$[ "" ||MIf %0=%%0    \ Wilcox
  56. Then Set Alias$Otherwise Set Alias$[ |||||||||||||||| ||MIf       \
  57. %0=%%0 Then Set Alias$When Set Alias$[ ||||||||||||||||
  58. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu